package com.feihong.yw189.listener.http;

import org.xutils.common.Callback;

/**
 * @name txgw_app
 * @class name：com.feihong.txgw.listener.http
 * @class describe:
 * @anthor wangziheng
 * @time 2017/9/5 17:33
 * @change
 * @chang time
 * @class describe
 */
public interface RequestCallBack<ResultType> {

    void onSuccess(ResultType result);

    void onError(Throwable ex, boolean isOnCallback);

    void onCancelled(Callback.CancelledException cex);

    void onFinished();
}
